package com.pm.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pm.common.annotation.Excel;
import com.pm.common.core.domain.BaseEntity;

/**
 * 企业证书对象 compete_enterprise_certificate
 * 
 * @author zxl
 * @date 2022-05-07
 */
public class CompeteEnterpriseCertificate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 证书ID */
    private Long certificateId;

    /** 竞争企业ID */
    @Excel(name = "竞争企业ID")
    private Long enterpriseId;

    private String enterpriseName;
    /** 证书名称 */
    @Excel(name = "证书名称")
    private String certificateName;

    /** 资质类别（1主项、2增项） */
    @Excel(name = "资质类别", readConverterExp = "1=主项、2增项")
    private String certificateType;

    /** 资质等级 */
    @Excel(name = "资质等级")
    private String certificateGrade;

    /** 资质等级图片 */
    @Excel(name = "资质等级图片")
    private String certificateImage;

    public void setCertificateId(Long certificateId) 
    {
        this.certificateId = certificateId;
    }

    public Long getCertificateId() 
    {
        return certificateId;
    }
    public void setEnterpriseId(Long enterpriseId) 
    {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId() 
    {
        return enterpriseId;
    }
    public void setCertificateName(String certificateName) 
    {
        this.certificateName = certificateName;
    }

    public String getCertificateName() 
    {
        return certificateName;
    }
    public void setCertificateType(String certificateType) 
    {
        this.certificateType = certificateType;
    }

    public String getCertificateType() 
    {
        return certificateType;
    }
    public void setCertificateGrade(String certificateGrade) 
    {
        this.certificateGrade = certificateGrade;
    }

    public String getCertificateGrade() 
    {
        return certificateGrade;
    }
    public void setCertificateImage(String certificateImage) 
    {
        this.certificateImage = certificateImage;
    }

    public String getCertificateImage() 
    {
        return certificateImage;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("certificateId", getCertificateId())
            .append("enterpriseId", getEnterpriseId())
            .append("certificateName", getCertificateName())
            .append("certificateType", getCertificateType())
            .append("certificateGrade", getCertificateGrade())
            .append("certificateImage", getCertificateImage())
            .toString();
    }
}
